home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 June / MacFormat 25.iso / Shareware City / Developers / macgzip_03b2-src / macos / think / MacErrors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-24  |  974 b   |  47 lines  |  [TEXT/KAHL]

  1. /*****************************************************/
  2. /* STR resources */
  3.  
  4. #define FILE_MANAGER    128
  5. #define GETFINFOERROR    1
  6. #define CREATEERROR        2
  7. #define FSDELETEERROR    3
  8. #define RENAMEERROR        4
  9. #define PBGETFINFO        5
  10.  
  11. #define FILE_IO            129
  12. #define W_ERROR            1
  13. #define R_ERROR            2
  14.  
  15. #define GENERIC            130
  16. #define NO_CURSOR        1
  17. #define EMPTY_FILE        2
  18. #define NOT_TEXT        3
  19. #define RES_FORK        4
  20. #define NO_SAVE_PREF    5
  21. #define EMPTY_SUFFIX    6
  22. #define OLD_SYSTEM        7
  23. #define BAD_DISK        8
  24.  
  25. /*****************************************************/
  26. /* OpenFile Results */
  27.  
  28. #define Cancelled        10
  29. #define    GzipNo            -1
  30. #define    GzipOK            0
  31. #define    GzipError        1
  32. #define    GzipWarning        2
  33.  
  34.  
  35. /*****************************************************/
  36. /* stdio */
  37.  
  38. extern void    Calert( char* theMsg );
  39. extern int  Cask( char* theMsg );
  40. extern void    PError( char *s );
  41.  
  42.  
  43. extern void    theAlert( int ErrorInd,int ErrorType, OSErr theOSErr, Boolean exiting);
  44.  
  45.  
  46. #define strerr (char*)_strerr
  47. extern char  _strerr[];